<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<?php $this->pageTitle="修改APP"; ?>
<div class="icon32" id="icon-users"><br>
</div>
<?php $arr = Yii::app()->params['helpDocument'];?>
<h2>修改APP<a target="<?php echo $arr['target']?>" href="<?php echo $arr['updateApp']?>"><?php echo $arr['img']?></a>
<a class="add-new-h2"
	href="<?php echo CController::createUrl('adminApp/index') ?>">管理APP</a></h2>
<div id="your-profile"><?php $form=$this->beginWidget('CActiveForm', array()); ?>
<h3><img alt=""
	src="<?php echo Yii::app()->request->baseUrl."/statics/images/myprofile.png"?>">
基本信息</h3>
<?php echo $form->errorSummary($model); ?>
<table class="form-table">
	<tr class="form-field form-required">
		<th scope="row"><?php echo $form->labelEx($model,'name'); ?></th>
		<td><?php echo $form->textField($model,'name',array('size'=>255,'maxlength'=>255)); ?></td>
	</tr>
	<tr class="form-field">
		<th scope="row"><?php echo $form->labelEx($model,'descr'); ?></th>
		<td><?php echo $form->textField($model,'descr',array('size'=>255,'maxlength'=>255)); ?></td>
	</tr>
	<tr class="form-field">
		<th scope="row"><?php echo $form->labelEx($model,'key'); ?></th>
		<td><?php echo $form->textField($model,'key',array('size'=>45,'maxlength'=>45,'disabled'=>'disabled')); ?></td>
	</tr>
	<tr class="form-field">
		<th scope="row"><?php echo $form->labelEx($model,'secret'); ?></th>
		<td><?php echo $form->textField($model,'secret',array('size'=>45,'maxlength'=>45,'disabled'=>'disabled')); ?></td>
	</tr>
	<tr class="form-field">
		<th scope="row"><?php echo $form->labelEx($model,'isEnabled'); ?><br>
		<td><?php echo $form->dropDownList($model,"isEnabled",$model->enabled_array,array()) ?></td>
	</tr>
</table>
<p class="submit"><?php echo CHtml::submitButton('立即更新',array("class"=>"button-primary")); ?>
	<?php $this->endWidget(); ?></p>
</div>

